package com.mentalhealthplatform.teacherV2.repository;

import com.mentalhealthplatform.appModels.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.UUID;


@Repository
public interface TeacherRepositoryV2 extends JpaRepository<Teacher, UUID> {
    // 通过用户名查找教师信息的方法
    Teacher findByUsername(String username);
}